package com.github.wxiaoqi.security.admin.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "base_element")
public class Element {
	@Id
	private Integer id;

	private String code;

	private String type;

	private String name;

	private String uri;

	@Column(name = "menu_id")
	private String menuId;

	@Column(name = "parent_id")
	private String parentId;

	private String path;

	private String method;

	private String description;

	@Column(name = "crt_time")
	private Date crtTime;

	@Column(name = "crt_user")
	private String crtUser;

	@Column(name = "crt_name")
	private String crtName;

	@Column(name = "crt_host")
	private String crtHost;

	private String attr1;

	private String attr2;

	private String attr3;

	private String attr4;

	private String attr5;

	private String attr6;

	private String attr7;

	private String attr8;

	/**
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return uri
	 */
	public String getUri() {
		return uri;
	}

	/**
	 * @param uri
	 */
	public void setUri(String uri) {
		this.uri = uri;
	}

	/**
	 * @return menu_id
	 */
	public String getMenuId() {
		return menuId;
	}

	/**
	 * @param menuId
	 */
	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	/**
	 * @return parent_id
	 */
	public String getParentId() {
		return parentId;
	}

	/**
	 * @param parentId
	 */
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	/**
	 * @return path
	 */
	public String getPath() {
		return path;
	}

	/**
	 * @param path
	 */
	public void setPath(String path) {
		this.path = path;
	}

	/**
	 * @return method
	 */
	public String getMethod() {
		return method;
	}

	/**
	 * @param method
	 */
	public void setMethod(String method) {
		this.method = method;
	}

	/**
	 * @return description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return crt_time
	 */
	public Date getCrtTime() {
		return crtTime;
	}

	/**
	 * @param crtTime
	 */
	public void setCrtTime(Date crtTime) {
		this.crtTime = crtTime;
	}

	/**
	 * @return crt_user
	 */
	public String getCrtUser() {
		return crtUser;
	}

	/**
	 * @param crtUser
	 */
	public void setCrtUser(String crtUser) {
		this.crtUser = crtUser;
	}

	/**
	 * @return crt_name
	 */
	public String getCrtName() {
		return crtName;
	}

	/**
	 * @param crtName
	 */
	public void setCrtName(String crtName) {
		this.crtName = crtName;
	}

	/**
	 * @return crt_host
	 */
	public String getCrtHost() {
		return crtHost;
	}

	/**
	 * @param crtHost
	 */
	public void setCrtHost(String crtHost) {
		this.crtHost = crtHost;
	}

	/**
	 * @return attr1
	 */
	public String getAttr1() {
		return attr1;
	}

	/**
	 * @param attr1
	 */
	public void setAttr1(String attr1) {
		this.attr1 = attr1;
	}

	/**
	 * @return attr2
	 */
	public String getAttr2() {
		return attr2;
	}

	/**
	 * @param attr2
	 */
	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}

	/**
	 * @return attr3
	 */
	public String getAttr3() {
		return attr3;
	}

	/**
	 * @param attr3
	 */
	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}

	/**
	 * @return attr4
	 */
	public String getAttr4() {
		return attr4;
	}

	/**
	 * @param attr4
	 */
	public void setAttr4(String attr4) {
		this.attr4 = attr4;
	}

	/**
	 * @return attr5
	 */
	public String getAttr5() {
		return attr5;
	}

	/**
	 * @param attr5
	 */
	public void setAttr5(String attr5) {
		this.attr5 = attr5;
	}

	/**
	 * @return attr6
	 */
	public String getAttr6() {
		return attr6;
	}

	/**
	 * @param attr6
	 */
	public void setAttr6(String attr6) {
		this.attr6 = attr6;
	}

	/**
	 * @return attr7
	 */
	public String getAttr7() {
		return attr7;
	}

	/**
	 * @param attr7
	 */
	public void setAttr7(String attr7) {
		this.attr7 = attr7;
	}

	/**
	 * @return attr8
	 */
	public String getAttr8() {
		return attr8;
	}

	/**
	 * @param attr8
	 */
	public void setAttr8(String attr8) {
		this.attr8 = attr8;
	}
}